package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@Entity
@Table(name="tbOPPlanTask")
public class ExdeTbOPPlanTask {
	@Id
	private String id;
	/**
	 * 计划任务编号
	 */
	@Column(name = "cPlanNumber", nullable = false)
	private String cPlanNumber;
	/**
	 * 交货期
	 */
	@Column( nullable = false)
	private int nViolationDeliveryDate;
	/**
	 * 技术性能
	 */
	@Column(nullable = false)
	private int nVPerformance;
	/**
	 * 接收人员名称
	 */
	private String cAcceptPersonName;
	/**
	 * 接收人员Id
	 */
	private String nAcceptPersonId;
	/**
	 * 产品质量
	 */
	@Column(nullable = false)
	private int nVQuality;
	/**
	 * 其它
	 */
	private String nVOther;
	/**
	 * 接受时间
	 */
	private Date dAcceptDate;
	/**
	 * 是否生成商品计划
	 */
	private String cIsGenerated;
	/**
	 * 基础图
	 */
	@Column(nullable = false)
	private int nBPBase;
	/**
	 * 基础图日期
	 */
	private Date dBaseDate;
	/**
	 * 安装及接口图
	 */
	@Column(nullable = false)
	private int nBPInterface;
	/**
	 * 安装及接口图日期
	 */
	private Date dInterfaceDate;
	/**
	 * PID或工艺流程图
	 */
	@Column(nullable = false)
	private int nBPPID;
	/**
	 * 创建人
	 */
	@ManyToOne
	@JoinColumn(unique = false)
	private User user;
	
	private String username;
	/**
	 * PID日期
	 */
	private Date dPIDDate;
	/**
	 * 创建部门
	 */
	private String cCreateDept;
	/**
	 * 创建片区
	 */
	private String AreaName;
	/**
	 * 电气原理图
	 */
	@Column(nullable = false)
	private int nBPElectricity;
	/**
	 * 创建日期
	 */
	@Temporal(TemporalType.TIMESTAMP)
	private Date dCreateDate;
	/**
	 * 电气原理图日期
	 */
	private Date dElectricityDate;
	/**
	 * 状态
	 */
	private String cState;
	/**
	 * 电气接线图
	 */
	@Column(nullable = false)
	private int nBPWiring;
	/**
	 * 电气接线图日期
	 */
	private Date dWiringDate;
	/**
	 * 控制柜外形图
	 */
	@Column(nullable = false)
	private int nBPControlCubicle;
	/**
	 * 控制柜外形图日期
	 */
	private Date dControlCubicleDate;
	/**
	 * 其它
	 */
	private String nBPOther;
	/**
	 * 供方合同号
	 */
	private String cContractNumber;//数据库没有
	/**
	 *需方合同编号
	 */
	private String demanderCode;//数据库没有
	/**
	 * 订货日期
	 */
	private Date dOrderDate;
	/**
	 * 交货日期
	 */
	private Date dDeliveryDate;
	/**
	 * 监造
	 */
	@Column(nullable = false)
	private int nExJail;
	/**
	 * 第三方检验
	 */
	@Column(nullable = false)
	private int nExThirdParty;
	/**
	 * 订货单位名称
	 */
	private String cUserUnit;
	/**
	 * 订货单位
	 */
	private String nUserUnitId;
	/**
	 * 出厂见证试验
	 */
	@Column(nullable = false)
	private int nExLeav;
	/**
	 * 备注
	 */
	private String cMemo;
	/**
	 * 按公司规定
	 */
	@Column(nullable = false)
	private int nPaintCompany;
	/**
	 * 下达日期
	 */
	private Date dIssuedDate;
	/**
	 * 按用户要求
	 */
	@Column(nullable = false)
	private int nPaintUser;
	/**
	 * 合同ID
	 */
	@ManyToOne
	@JoinColumn(unique = false)
	private ContractInfo contractInfo;
	
	private String contractType;
	/**
	 * 普通包装
	 */
	@Column(nullable = false)
	private int nPackingOrdinary;
	/**
	 * 合同签订人
	 */
	private String nContractManager;
	/**
	 * 出口包装
	 */
	@Column(nullable = false)
	private int nPackingExport;
	/**
	 * 降库说明
	 */
	private String cLowStockMemo;
	/**
	 * 按用户要求
	 */
	@Column(nullable = false)
	private int nPackingUser;
	/**
	 * 打印次数
	 */
	
	private int nPrintCount;
	/**
	 * 其它要求
	 */
	private String cOtherRequirement;
	/**
	 * 最后打印日期
	 */
	private Date nPrintDate;
	/**
	 * 试验报告
	 */
	@Column(nullable = false)
	private int nTestReport;
	/**
	 * 试验报告日期
	 */
	private Date dTestReportDate;
	/**
	 * 类型
	 */
	private String cType;
	
	public String getContractType() {
		return contractType;
	}
	public void setContractType(String contractType) {
		this.contractType = contractType;
	}
	public String getDemanderCode() {
		return demanderCode;
	}
	public void setDemanderCode(String demanderCode) {
		this.demanderCode = demanderCode;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getAreaName() {
		return AreaName;
	}
	public void setAreaName(String areaName) {
		AreaName = areaName;
	}
	public String getnUserUnitId() {
		return nUserUnitId;
	}
	public void setnUserUnitId(String nUserUnitId) {
		this.nUserUnitId = nUserUnitId;
	}
	public String getcCreateDept() {
		return cCreateDept;
	}
	public void setcCreateDept(String cCreateDept) {
		this.cCreateDept = cCreateDept;
	}
	public Date getdOrderDate() {
		return dOrderDate;
	}
	public void setdOrderDate(Date dOrderDate) {
		this.dOrderDate = dOrderDate;
	}
	public Date getdDeliveryDate() {
		return dDeliveryDate;
	}
	public void setdDeliveryDate(Date dDeliveryDate) {
		this.dDeliveryDate = dDeliveryDate;
	}
	public String getnContractManager() {
		return nContractManager;
	}
	public void setnContractManager(String nContractManager) {
		this.nContractManager = nContractManager;
	}
	public String getcContractNumber() {
		return cContractNumber;
	}
	public void setcContractNumber(String cContractNumber) {
		this.cContractNumber = cContractNumber;
	}
	public String getcUserUnit() {
		return cUserUnit;
	}
	public void setcUserUnit(String cUserUnit) {
		this.cUserUnit = cUserUnit;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getcPlanNumber() {
		return cPlanNumber;
	}
	public void setcPlanNumber(String cPlanNumber) {
		this.cPlanNumber = cPlanNumber;
	}
	public int getnViolationDeliveryDate() {
		return nViolationDeliveryDate;
	}
	public void setnViolationDeliveryDate(int nViolationDeliveryDate) {
		this.nViolationDeliveryDate = nViolationDeliveryDate;
	}
	public int getnVPerformance() {
		return nVPerformance;
	}
	public void setnVPerformance(int nVPerformance) {
		this.nVPerformance = nVPerformance;
	}
	public String getcAcceptPersonName() {
		return cAcceptPersonName;
	}
	public void setcAcceptPersonName(String cAcceptPersonName) {
		this.cAcceptPersonName = cAcceptPersonName;
	}
	public String getnAcceptPersonId() {
		return nAcceptPersonId;
	}
	public void setnAcceptPersonId(String nAcceptPersonId) {
		this.nAcceptPersonId = nAcceptPersonId;
	}
	public int getnVQuality() {
		return nVQuality;
	}
	public void setnVQuality(int nVQuality) {
		this.nVQuality = nVQuality;
	}
	public String getnVOther() {
		return nVOther;
	}
	public void setnVOther(String nVOther) {
		this.nVOther = nVOther;
	}
	public Date getdAcceptDate() {
		return dAcceptDate;
	}
	public void setdAcceptDate(Date dAcceptDate) {
		this.dAcceptDate = dAcceptDate;
	}
	public String getcIsGenerated() {
		return cIsGenerated;
	}
	public void setcIsGenerated(String cIsGenerated) {
		this.cIsGenerated = cIsGenerated;
	}
	public int getnBPBase() {
		return nBPBase;
	}
	public void setnBPBase(int nBPBase) {
		this.nBPBase = nBPBase;
	}
	public Date getdBaseDate() {
		return dBaseDate;
	}
	public void setdBaseDate(Date dBaseDate) {
		this.dBaseDate = dBaseDate;
	}
	public int getnBPInterface() {
		return nBPInterface;
	}
	public void setnBPInterface(int nBPInterface) {
		this.nBPInterface = nBPInterface;
	}
	public Date getdInterfaceDate() {
		return dInterfaceDate;
	}
	public void setdInterfaceDate(Date dInterfaceDate) {
		this.dInterfaceDate = dInterfaceDate;
	}
	public int getnBPPID() {
		return nBPPID;
	}
	public void setnBPPID(int nBPPID) {
		this.nBPPID = nBPPID;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Date getdPIDDate() {
		return dPIDDate;
	}
	public void setdPIDDate(Date dPIDDate) {
		this.dPIDDate = dPIDDate;
	}
	public int getnBPElectricity() {
		return nBPElectricity;
	}
	public void setnBPElectricity(int nBPElectricity) {
		this.nBPElectricity = nBPElectricity;
	}
	public Date getdCreateDate() {
		return dCreateDate;
	}
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}
	public Date getdElectricityDate() {
		return dElectricityDate;
	}
	public void setdElectricityDate(Date dElectricityDate) {
		this.dElectricityDate = dElectricityDate;
	}
	public String getcState() {
		return cState;
	}
	public void setcState(String cState) {
		this.cState = cState;
	}
	public int getnBPWiring() {
		return nBPWiring;
	}
	public void setnBPWiring(int nBPWiring) {
		this.nBPWiring = nBPWiring;
	}
	public Date getdWiringDate() {
		return dWiringDate;
	}
	public void setdWiringDate(Date dWiringDate) {
		this.dWiringDate = dWiringDate;
	}
	public int getnBPControlCubicle() {
		return nBPControlCubicle;
	}
	public void setnBPControlCubicle(int nBPControlCubicle) {
		this.nBPControlCubicle = nBPControlCubicle;
	}
	public Date getdControlCubicleDate() {
		return dControlCubicleDate;
	}
	public void setdControlCubicleDate(Date dControlCubicleDate) {
		this.dControlCubicleDate = dControlCubicleDate;
	}
	public String getnBPOther() {
		return nBPOther;
	}
	public void setnBPOther(String nBPOther) {
		this.nBPOther = nBPOther;
	}
	public int getnExJail() {
		return nExJail;
	}
	public void setnExJail(int nExJail) {
		this.nExJail = nExJail;
	}
	public int getnExThirdParty() {
		return nExThirdParty;
	}
	public void setnExThirdParty(int nExThirdParty) {
		this.nExThirdParty = nExThirdParty;
	}
	public int getnExLeav() {
		return nExLeav;
	}
	public void setnExLeav(int nExLeav) {
		this.nExLeav = nExLeav;
	}
	public String getcMemo() {
		return cMemo;
	}
	public void setcMemo(String cMemo) {
		this.cMemo = cMemo;
	}
	public int getnPaintCompany() {
		return nPaintCompany;
	}
	public void setnPaintCompany(int nPaintCompany) {
		this.nPaintCompany = nPaintCompany;
	}
	public Date getdIssuedDate() {
		return dIssuedDate;
	}
	public void setdIssuedDate(Date dIssuedDate) {
		this.dIssuedDate = dIssuedDate;
	}
	public int getnPaintUser() {
		return nPaintUser;
	}
	public void setnPaintUser(int nPaintUser) {
		this.nPaintUser = nPaintUser;
	}
	public ContractInfo getContractInfo() {
		return contractInfo;
	}
	public void setContractInfo(ContractInfo contractInfo) {
		this.contractInfo = contractInfo;
	}
	public int getnPackingOrdinary() {
		return nPackingOrdinary;
	}
	public void setnPackingOrdinary(int nPackingOrdinary) {
		this.nPackingOrdinary = nPackingOrdinary;
	}
	public int getnPackingExport() {
		return nPackingExport;
	}
	public void setnPackingExport(int nPackingExport) {
		this.nPackingExport = nPackingExport;
	}
	public String getcLowStockMemo() {
		return cLowStockMemo;
	}
	public void setcLowStockMemo(String cLowStockMemo) {
		this.cLowStockMemo = cLowStockMemo;
	}
	public int getnPackingUser() {
		return nPackingUser;
	}
	public void setnPackingUser(int nPackingUser) {
		this.nPackingUser = nPackingUser;
	}
	public int getnPrintCount() {
		return nPrintCount;
	}
	public void setnPrintCount(int nPrintCount) {
		this.nPrintCount = nPrintCount;
	}
	public String getcOtherRequirement() {
		return cOtherRequirement;
	}
	public void setcOtherRequirement(String cOtherRequirement) {
		this.cOtherRequirement = cOtherRequirement;
	}
	public Date getnPrintDate() {
		return nPrintDate;
	}
	public void setnPrintDate(Date nPrintDate) {
		this.nPrintDate = nPrintDate;
	}
	public int getnTestReport() {
		return nTestReport;
	}
	public void setnTestReport(int nTestReport) {
		this.nTestReport = nTestReport;
	}
	public Date getdTestReportDate() {
		return dTestReportDate;
	}
	public void setdTestReportDate(Date dTestReportDate) {
		this.dTestReportDate = dTestReportDate;
	}
	public String getcType() {
		return cType;
	}
	public void setcType(String cType) {
		this.cType = cType;
	}

}
